package com.meet.service;

import com.meet.dao.RoomDao;
import com.meet.dao.RoomDaoImpl;
import com.meet.vo.MeetingVo;

import java.sql.SQLException;
import java.util.List;

public class RoomServiceImpl implements RoomService{
    private RoomDao roomDao;

    public RoomServiceImpl(RoomDao roomDao) {
        this.roomDao = roomDao;
    }

    @Override
    public List<MeetingVo> getAllRoomTimeByRoomId(int roomid) throws SQLException {
        return roomDao.getAllRoomTimeByRoomId(roomid);
    }
}
